home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
US Department of Defenseā¦ndamentals 1.0 2004 April
/
US Department of Defense: Firewall & Router Fundamentals 1.0 2004 April.iso
/
text_only
/
includes
/
g_globals.js
< prev
next >
Wrap
Text File
|
2004-03-03
|
1KB
|
49 lines
//BROWSER - used by everybody
var IE = navigator.appName.indexOf("Microsoft") != -1;
if (IE)
var W3CDOM = parseInt(navigator.appVersion.substring(navigator.appVersion.indexOf("MSIE ")+5,navigator.appVersion.indexOf("MSIE ") + 6)) >= 5;
else
var W3CDOM = parseInt(navigator.appVersion.substring(0,1)) >= 5;
//is server secure?
var SSL = false;
var URL_PREFIX = "http://";
if (location.href.indexOf("https://")>-1) {
SSL = true;
URL_PREFIX = "https://";
}
//used by both FLMS and SCO
var LOAD_DONE = false;
var ORIG_IMG = new Image;
var MENU_PREQ = false;
var COOKIE_PATH = "/";
var MODULE_TITLE = "";
var COURSE_TITLE = "Firewall and Router Fundamentals";
var MENU_PATH_EXT = "";
var PATH_EXT = "";
var PAIR_DELIMITER = ";";
var VALUE_DELIMITER = "=";
var USE_HEX_ENCODING = true;
//page and audio types definitions
var PT_FLASH = 0;
var PT_HTML = 1;
var AT_FLASH = 0;
var AT_WMA = 1;
var PAGE_TYPES = new Array();
var AUDIO_TYPES = new Array();
//display types declarations
var CUR_DT = 0;
var MANDATORY_DT = -1;
var DISPLAY_TYPES = new Array();
var DT_DESC = new Array();
var DT_RUN_508 = new Array();
var DT_LANG = new Array();
var BROWSE = false;
//question declaration